import { JSONMapping } from "../json-mapping";
import {ObjectDtoInterface} from "../../services/sqliteDB/object.dto";
import {SyncStatus} from "../sync-status";


export class UserCharacteristicRelationship extends JSONMapping implements ObjectDtoInterface {
    static PropertyKeyToJSONKeyMap() {
        return { };
    }

    // public id: string = null; // id
    public customerNo: string = null; // 用电用户编号
    public markNo: string = null; // 标签编号
    public markName: string = null; // 标签名称
    public markCount: number = null; // 标签使用次数
    public markTypeName: string = null; // 标签类型名称
    public markUserAccount: string = null; // 登录用户编号
    public syncStatus: SyncStatus = SyncStatus.None;


    constructor(json: { [key: string]: any }) {
        super(json);
        UserCharacteristicRelationship.mapFromJSON(json, this);
    }
}

